<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="../image/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="css/exam_analyse.css" media="all">
    <title>分析报告</title>
    <style>
        /* 解决使用Vue.js页面加载数据的时候，页面闪现原始代码 */
        [v-cloak] {
            display: none;
        }
    </style>
</head>
<body>
    <div id="app" v-cloak>
        <div>
            <section class="el-container app-item-contain is-vertical">
                <header class="el-header paper-align-center" style="height: 60px;">
                    <h1 class="exam-question-content">{{examPaperResult.examPaperName}}</h1>
                    <div>
                        <span class="question-title-padding">试卷得分：{{examPaperResult.studentScore}} / {{examPaperResult.paperScore}}</span>
                        <span class="question-title-padding">试卷耗时：{{examPaperResult.doTime | dateFormat}}</span>
                        <span class="question-title-padding">年级排名：{{rank}}</span>
                        <span class="question-title-padding">年级平均分：{{avg}}</span>
                    </div>
                </header>
                <main class="el-main">
                    <div class="el-row" >
                        <div class="el-card card-margin is-always-shadow" style="overflow: hidden;">
                            <div style="width: 50%;text-align: center;float: left;margin-top: 20px;">
                                <h3>试卷题型分布</h3>
                                <div id="main" style="height: 350px;width: 400px;margin-left: 80px;"></div>
                            </div>
                            <div style="width: 50%;text-align: center;float: left;margin-top: 20px;">
                                <h3>错题题型分布</h3>
                                <div id="main2" style="height: 350px;width: 400px;margin-left: 80px;"></div>
                            </div>

                        </div>
                    </div>
                </main>

                <main class="el-main">
                    <div class="el-row" >
                        <div class="el-card card-margin is-always-shadow" style="overflow: hidden;">
                            <div style="width: 100%;text-align: center;margin-top: 20px;">
                                <h3>题目得分</h3>
                                <div id="main3" style="height: 550px;width: 100%;"></div>
                            </div>
                            

                        </div>
                    </div>
                </main>

            </section>
        </div>
    </div>

    <script src="../js/jquery-1.12.4.min.js"></script>
    <script src="../js/Vue.js"></script>
    <script src="../js/echarts.min.js"></script>
    <script src="js/exam_analyse.js"></script>

</body>
</html>